package com.testyourshell.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import com.testyourshell.dto.user.UserRegistrationOutDTO;

@Controller
public class ApplicationController {
	
	@RequestMapping(
			value = "/",
			method = RequestMethod.GET)
	public String getMainPage() {
		return "index";
	}
	
	@RequestMapping(
			value = "/login",
			method = RequestMethod.GET)
	public String ogin() {
		return "login";
	}
	
}
